SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%??%''%??%'%'))) AND (storeName LIKE '%and%' OR storeKana LIKE '%and%' OR storeC' at line 6, query was: SELECT SQL_CALC_FOUND_ROWS Store.*, `Area`.*, `User`.*, `Plan`.*, `Genre`.* FROM `Store` INNER JOIN `Area` ON areaCode=storeArea INNER JOIN `User` ON userCode=storeCode INNER JOIN `Plan` ON planCode=storePlan INNER JOIN `Genre` ON genreCode=storeGenre WHERE (storeArea = '43') AND (storeStatus = '1') AND (storeName LIKE '%??%' OR storeKana LIKE '%??%' OR storeCatch LIKE '%??%' OR storeText LIKE '%??%' OR EXISTS (SELECT `Bound`.* FROM `Bound` INNER JOIN `Station` ON boundStation=stationCode WHERE (boundStore = storeCode) AND (stationName LIKE '%'%??%''%??%'%'))) AND (storeName LIKE '%and%' OR storeKana LIKE '%and%' OR storeCatch LIKE '%and%' OR storeText LIKE '%and%' OR EXISTS (SELECT `Bound`.* FROM `Bound` INNER JOIN `Station` ON boundStation=stationCode WHERE (boundStore = storeCode) AND (stationName LIKE '%and%'))) AND (storeName LIKE '%1=1%' OR storeKana LIKE '%1=1%' OR storeCatch LIKE '%1=1%' OR storeText LIKE '%1=1%' OR EXISTS (SELECT `Bound`.* FROM `Bound` INNER JOIN `Station` ON boundStation=stationCode WHERE (boundStore = storeCode) AND (stationName LIKE '%1=1%'))) AND (storeName LIKE '%/**/**/uNiOn/**/AlL%' OR storeKana LIKE '%/**/**/uNiOn/**/AlL%' OR storeCatch LIKE '%/**/**/uNiOn/**/AlL%' OR storeText LIKE '%/**/**/uNiOn/**/AlL%' OR EXISTS (SELECT `Bound`.* FROM `Bound` INNER JOIN `Station` ON boundStation=stationCode WHERE (boundStore = storeCode) AND (stationName LIKE '%/**/**/uNiOn/**/AlL%'))) AND (storeName LIKE '%/**/**/sElEcT%' OR storeKana LIKE '%/**/**/sElEcT%' OR storeCatch LIKE '%/**/**/sElEcT%' OR storeText LIKE '%/**/**/sElEcT%' OR EXISTS (SELECT `Bound`.* FROM `Bound` INNER JOIN `Station` ON boundStation=stationCode WHERE (boundStore = storeCode) AND (stationName LIKE '%/**/**/sElEcT%'))) AND (storeName LIKE '%0x393631353738343330312e39,0x393631353738343330322e39%' OR storeKana LIKE '%0x393631353738343330312e39,0x393631353738343330322e39%' OR storeCatch LIKE '%0x393631353738343330312e39,0x393631353738343330322e39%' OR storeText LIKE '%0x393631353738343330312e39,0x393631353738343330322e39%' OR EXISTS (SELECT `Bound`.* FROM `Bound` INNER JOIN `Station` ON boundStation=stationCode WHERE (boundStore = storeCode) AND (stationName LIKE '%0x393631353738343330312e39,0x393631353738343330322e39%'))) AND (storeStatus = '1') ORDER BY planLevel DESC, storeUp DESC LIMIT 20


#0 /apps/venus-rec/vendor/zendframework/zendframework1/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#1 /apps/venus-rec/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 /apps/venus-rec/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT SQL_CALC...', Array)
#3 /apps/venus-rec/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Zend_Db_Adapter_Pdo_Abstract->query('SELECT SQL_CALC...', Array)
#4 /apps/venus-rec/Application/Model/Db/Selector.php(50): Zend_Db_Adapter_Abstract->fetchAll('SELECT SQL_CALC...')
#5 /apps/venus-rec/Application/Controller/Public/SearchController.php(141): Application_Model_Db_Selector->fetchRowSet()
#6 /apps/venus-rec/Application/Controller/Public/SearchController.php(30): SearchController->resultAction()
#7 /apps/venus-rec/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php(516): SearchController->indexAction()
#8 /apps/venus-rec/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
#9 /apps/venus-rec/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Application_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /apps/venus-rec/Interface/Public.php(123): Zend_Controller_Front->dispatch()
#11 {main}